home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d8 / pclablan.arc / README.TXT < prev   
Text File  |  1988-05-14  |  19KB  |  400 lines

  1. «MDNM»Introduction
  2. PC Magazine LAN Benchmark README.TXT File
  3. ------------
  4.  
  5. The PC Magazine LAN benchmark program is used to evaluate LAN
  6. hardware and software.  This file provides an overview of the
  7. test programs and instructions on how to use them.  The following
  8. sections are included in this document:
  9.  
  10.         LAN Test Overview
  11.         How to Run the Tests
  12.         Cleaning Up and Filenames
  13.         PC Labs Setup
  14.         How We Interpret Results
  15.  
  16. You can write or call PC Labs at (212) 503-5570 if you have
  17. comments, suggestions, or questions.
  18.  
  19.  
  20.  
  21. LAN Test Overview
  22. -----------------
  23. The PC Magazine LAN benchmark test provides a way to impose a
  24. consistent load on a LAN and to time specific procedures.  The
  25. tests generate repeatable results, which can then be compared
  26. with other similarly configured LANs with the same number of
  27. workstations.
  28.  
  29. The following captions are printed in PC Magazine when LAN test
  30. results are reported.  They provide an overview of the three
  31. types of file loading used in the tests.
  32.  
  33. The PC Labs LAN benchmark tests are written in C and are
  34. independent of commercial software.  We ran the tests on a test-
  35. bed of five 8-MHz IBM PC ATs.  For our test-bed to better
  36. simulate the conditions on a medium-size network of 20 or more
  37. workstations, we have designed these loading tests so that a
  38. single station represents five to ten times the load of a user
  39. performing an interactive task (for example, updating records) on
  40. a network.
  41.  
  42. By themselves, the elapsed times reported in these tests are not
  43. meaningful.  They are valuable only when used to compare the
  44. performances of two or more systems running under near-identical
  45. conditions.  Accordingly, we include the tests run on our
  46. Editor's Choice configuration of a 3Com 3Server3, 3+Share
  47. software, and EtherLink interface cards to provide a point of
  48. comparison.  We also show results from a network of Novell's
  49. Advanced NetWare/286, EtherLink cards, and an IBM PC AT as the
  50. server.  Advanced NetWare is our Editor's Choice for networking
  51. software, and our tested configuration is a typical one.  The
  52. times are in seconds.
  53.  
  54.  
  55.   Network Speed Under Load Results
  56.  
  57.     Stations   3+Share    Advanced Netware/286
  58.     --------   -------    --------------------
  59.        0        306            264
  60.        1        423            280
  61.        2        529            301
  62.        3        651            310
  63.        4        761            322
  64.  
  65.  
  66.   Hard Disk Access Load Results
  67.  
  68.     Stations   3+Share    Advanced Netware/286
  69.     --------   -------    --------------------
  70.        0        155            136
  71.        1        227            150
  72.        2        330            162
  73.        3        419            174
  74.        4        522            182
  75.  
  76.  
  77.   Database Load Results
  78.  
  79.     Stations   3+Share    Advanced Netware/286
  80.     --------   -------    --------------------
  81.        0        155            136
  82.        1        298            169
  83.        2        425            212
  84.        3        585            280
  85.        4        669            305
  86.  
  87.  
  88. The Network Speed Under Load and the Hard Disk Access Load
  89. benchmark tests measure the time needed to perform a standardized
  90. task on the network.  While the actual work loads used for these
  91. two tests (described below) are different, we used the same
  92. procedure for both.  To obtain the elapsed times shown here, we
  93. ran a benchmark program performing a sequential create, a
  94. sequential read, a sequential write, a random read, and a random
  95. write of a large file.  The record sizes used in these activities
  96. systematically rotate between 16K, 4K, and 512 bytes.  The
  97. numbers shown in the three-dimensional chart are the total time
  98. necessary for all of these operations.  We ran the test on all
  99. our ATs to load the network while timing just one of them.  We
  100. then reduced the number of workstations one at a time to show the
  101. effect of loading on the network.
  102.  
  103. The Network Speed Under Load test puts a heavy load on the
  104. network interface (cards, media, and so forth) while placing a
  105. minimal load on the hard disk by having each station continuously
  106. read and write its own 1-byte data file, changing the data each
  107. time.  For systems with disk caching, the load on the hard disk
  108. is even smaller, since cached systems typically perform a disk
  109. write but do not require a physical disk read.
  110.  
  111. The Hard Disk Access Load test heavily loads the hard disk and
  112. disk-caching system.  To do this, each station randomly accesses
  113. its own 100K data file using 1K records.  Data written to the
  114. file is changed each time.  The random reads typically access
  115. data outside the cache, which forces a disk read, as does any
  116. write.
  117.  
  118. The Database Load test exercises the system's record-locking
  119. support and the way it handles a number of random simultaneous
  120. accesses to a common file.  This test times how fast each loading
  121. station accesses a common database consisting of an index and a
  122. data file.  Half the accesses are simple searches of the index
  123. file and an accompanying access to a record in the data file.
  124. One quarter of the accesses perform the same operation but also
  125. lock the data record and update its contents.  The remaining
  126. accesses update the index file and a data record.  The index file
  127. is locked during every update and the DOS 3.1 RLOCK statement
  128. prevents simultaneous index file updates.
  129.  
  130.  
  131.  
  132. How to Run the Tests
  133. --------------------
  134. The LAN benchmark program uses only DOS 3.x file handling
  135. facilities and does not require LAN-specific support such as
  136. NETBIOS support.  The test configuration requires at least one
  137. file server, which can be dedicated or nondedicated.  The network
  138. must also have one or more DOS workstations attached.
  139.  
  140. The network being tested should be set up and running according
  141. to the vendor's specifications before the benchmark program is
  142. run.  Each workstation involved in a test should be logged onto
  143. the network, and the LAN benchmark program must be running on
  144. each workstation.
  145.  
  146. Any network options related to file sharing that may be necessary
  147. for running the benchmark program should be implemented before
  148. the tests are run.  The DOS SHARE program is often required for
  149. the database load procedure.  Also, some systems require special
  150. attributes to be set for these files.  Check the corresponding
  151. network documentation on file sharing for details.
  152.  
  153. The LAN benchmark program is menu driven but it does require some
  154. manual coordination and setup.  These options are chosen using
  155. the setup menu, which creates a setup file--PCMAGLAN.ARG.
  156.  
  157. The LAN benchmark setup program should be run first.  It is
  158. available from the main menu of the LAN benchmark program.  You
  159. can choose from among various testing parameters--such as the
  160. file sizes to be used in a test.  The setup file should then be
  161. saved.  A single setup file can be shared if the file is
  162. available on a shared directory on the LAN or individual copies
  163. can be used on each workstation.
  164.  
  165. Select a LAN load procedure on each workstation attached to the
  166. network.  These workstations access data on the file server
  167. attached to the network--and are the cause of the contention for
  168. processing power.  Only one workstation runs a time procedure to
  169. obtain the final numerical results.  Remember to start the load
  170. procedures before starting the time procedure.
  171.  
  172. The timed test runs to completion and should not be interrupted.
  173. It can be terminated using the Control-Break keys, but no results
  174. will be saved and the test must be restarted completely.  The
  175. load procedures can be incrementally started or stopped while the
  176. timed test is running without having to restart each load
  177. procedure from scratch.  It is more likely that you will manually
  178. terminate the load procedures after each portion of the time test
  179. is completed.  The load procedures are interrupted using the Esc
  180. (escape) key and a prompt will allow the procedure to be
  181. terminated or to continue.
  182.  
  183. The load procedures are options 1, 2, and 3 on the main menu.
  184. Load procedures 1 and 2 use individual and unique files for each
  185. workstation, and the files can be contained in different
  186. directories on a shared hard disk.  The database load procedure
  187. uses a common set of files for all load workstations.  The files
  188. used by the load procedures must be contained on the same network
  189. file server; otherwise, the load procedure may have little or no
  190. effect on the timed results.
  191.  
  192. Load procedures 1 and 2 and the timed test automatically create
  193. their work files and delete them before the procedures terminate.
  194. Load 3, the database load, requires predefined data files that
  195. are built using the B option on the main menu.  The size of these
  196. data files is specified in the setup menu.  The size of the file
  197. is specified in terms of levels where smaller numbers equal
  198. smaller files.  The sizes grow exponentially with respect to the
  199. number of levels.
  200.  
  201. The timed test is option T on the main menu.  It performs
  202. standard file operations on a single file, including creating the
  203. file as well as sequential and random reads and writes.  The file
  204. and record sizes can be specified in the setup menu and the
  205. numbers can have a trailing K or M for kilobytes or megabytes,
  206. respectively.  Record sizes can be in bytes, although the file
  207. size is rounded up to the nearest kilobyte.  Up to eight record
  208. sizes can be listed and the record sizes are processed in the
  209. order listed.  The test file is deleted after each record size is
  210. used and a new file is created for each additional record size.
  211.  
  212. The program provides two result files.  One is suitable for
  213. printing or incorporation into a document using most word
  214. processors (PCMAGLAN.TXT).  The second is formatted for
  215. spreadsheet programs that can read comma-separated variable (CSV)
  216. format files (PCMAGLAN.CSV).  The numbers saved in the timed test
  217. result files are identical; only the format is different.  The
  218. LAN benchmark program will append new results to the end of the
  219. files if they already exist.
  220.  
  221.  
  222.  
  223. Cleaning Up and Filenames
  224. -------------------------
  225.  
  226. Normally the timed procedure and loading procedures delete any
  227. files they create when the test is done.  The exceptions are the
  228. files created for the database load procedure.  These files must
  229. be deleted manually using the DOS DELETE or ERASE commands.
  230.  
  231. The names of the work files used by the LAN benchmark program can
  232. be changed in the setup menu, but the defaults include:
  233.  
  234.         PCMAGLAN.IDX       database index file
  235.         PCMAGLAN.DAT       database data file
  236.         TMPXXXXX           temporary work file
  237.  
  238. The temporary work-file names actually have the XXXXX replaced by
  239. a random number so that each file is unique.  The temporary work
  240. files may be accidentally left on the disk if the network or
  241. program is terminated improperly or prematurely aborted.
  242. Temporary files will never be used again, so they can be deleted
  243. at any time.  Although the database files can be easily
  244. reconstructed using the LAN benchmark program, they should be
  245. deleted only when they are no longer needed.
  246.  
  247. PCMAGLAN.ARG is a file created from the setup menu.  It contains
  248. the user-defined options.  A single copy of PCMAGLAN.ARG can be
  249. placed on a shared directory on the file server or each
  250. workstation can have its own copy.  PCMAGLAN.ARG is loaded by
  251. default when the program is started.  There is no way to change
  252. the default filename.  However, if you want to rename the file in
  253. order to save different setups, you can load it explicitly
  254. through an option found in the main menu.  Different setup files
  255. can be used to save different test parameters, different LAN
  256. names, and different result-file names.
  257.  
  258. The setup file PCMAGLAN.ARG does not have to exist for the LAN
  259. benchmark program to run.  Default values are used if there is no
  260. file.
  261.  
  262. PCMAGLAN.TXT and PCMAGLAN.CSV are the default names for the
  263. result files created by the time test.  These can be deleted if
  264. the results are no longer needed or can be saved accordingly.
  265.  
  266. All filenames can contain drive designations and directory path
  267. names.  This allows more flexible placement of the files and
  268. allows results to be placed on a drive other than the one being
  269. tested.
  270.  
  271. The LAN benchmark program traps some errors, but occasionally
  272. "disk full" errors or LAN-related errors occur.  It is also
  273. possible to corrupt the LAN benchmark database files.  The
  274. program will detect and report on the latter.  It is best to
  275. delete all temporary and database files and regenerate the
  276. database if this occurs.  The results for any timed test should
  277. be disregarded if these types of errors occur.
  278.  
  279. In general, the LAN benchmark program can be aborted using
  280. Control-Break.  Reboot or power-down the workstation if the
  281. program must be terminated and it does not respond to Control-
  282. Break.
  283.  
  284. Be careful when editing and appending time test results.  Some
  285. text editors place an end-of-file character at the end of a file.
  286. This character is not visible when the file is typed or edited.
  287. The time test appends data to the physical end-of-file, which may
  288. appear after this character if the result files are edited and
  289. saved.  The data will be in the file but will not be accessible
  290. using this type of editor or via the DOS TYPE command.  Edit only
  291. copies of files from the time test to prevent this problem from
  292. occurring.  Also, look at the file size versus the amount of
  293. information that is viewable to see if this is a problem you may
  294. have encountered.
  295.  
  296. Cummulative time test results are appended to the end of a result
  297. file, not the beginning.  This is a useful way of keeping the
  298. results for different numbers of workstations and different kinds
  299. of loads.
  300.  
  301.  
  302. PC Labs Setup
  303. -------------
  304.  
  305. The results printed by PC Magazine are obtained by repeating the
  306. LAN benchmark test using different load procedures and different
  307. numbers of load workstations.
  308.  
  309. PC Labs uses standard IBM PC AT computers running at 8 MHz.  Six
  310. ATs are used as workstations and an additional AT is used if a
  311. dedicated AT server is required.  The dedicated AT server is
  312. augmented with 2MB of extended memory when it is used.  The other
  313. workstations have no extended memory.
  314.  
  315. One AT is designated as the timed workstation while the others
  316. are load workstations.  The PC Labs configuration is set up in a
  317. single room so that each workstation is easily viewed at the same
  318. time.
  319.  
  320. When PC Labs tests a non-IBM server, the vendor's server replaces
  321. the AT.  Servers are tested as delivered.  The LAN is set up
  322. based upon the vendor's documentation.  No tuning is done on the
  323. server or the workstations other than what is specified in the
  324. standard installation procedure.  All configurations are tested
  325. using supplied service programs and normal DOS applications to
  326. make sure the LAN is running properly before the LAN benchmark
  327. program is run.
  328.  
  329. How We Interpret Results
  330. ------------------------
  331. As described above, the benchmark-test results reported in PC
  332. Magazine are generated on a standard network configuration.
  333. Although you can test any LAN using the PC Labs benchmark
  334. program, results obtained using a LAN configuration different
  335. from the PC Labs standard configuration cannot be compared with
  336. results printed in the magazine.  The LAN benchmark program tests
  337. file-access performance only.  It does not test other aspects of
  338. the network such as print spooling, electronic mail,
  339. communications, or bridges.
  340.  
  341. The three different load tests come into play as more
  342. workstations log onto the network.  These tests are designed to
  343. place an unusually heavy and consistent load on the network.
  344. Bear in mind that the number of workstations a network
  345. configuration can support is normally much larger than the
  346. standard PC Labs LAN test configuration.
  347.  
  348. The Network Speed Under Load test is designed to place a heavy
  349. load on the network software and transport mechanism.  Each
  350. workstation reads and writes a single-byte file.  This should
  351. generate a minimum amount of disk traffic on the server.  In
  352. fact, some servers with good buffering techniques will perform no
  353. disk accesses until the tests are done.  On the other hand, the
  354. test should generate a great deal of network traffic.  The
  355. network adapter on the server can be kept at maximum load with a
  356. sufficient number of workstations.
  357.  
  358. The Hard Disk Access Load test also generates a good deal of
  359. network traffic, but it also performs a large number of disk
  360. operations.  The size of the data files used can be specified and
  361. should be larger than the amount of buffering available on the
  362. hard disk.  The traffic is similar to that encountered when
  363. copying large amounts of data or when running applications that
  364. heavily access the file server's hard disk.
  365.  
  366. The Database Load test uses a common database, which is accessed
  367. by each load workstation.  Record locking is used on the index
  368. file and data file.  Access to the records is random with a
  369. distribution of data record reads, data record updates, and index
  370. record updates.  The load simulates a heavy access to a common
  371. database.  This would be comparable to a significantly larger
  372. number of workstations performing query operations to a common
  373. database.  The locking procedures are similar but not identical
  374. to many commercial network database products.  However, the test
  375. is primarily designed to show how good or bad a network supports
  376. simultaneous file access with record locking.  DOS 3.x file and
  377. record locking are mandatory for this test.
  378.  
  379. The time test can be used in conjunction with any other load
  380. procedures you create.  PC Labs tests only the same type of load
  381. within individual tests for consistency and to simplify
  382. interpretation of test results.  The change in the test results
  383. shows how much variance may be observed on a heavily loaded or
  384. heavily populated network.
  385.  
  386. The time test results can be interpreted in isolation based on
  387. the nature of the tasks (i.e., network traffic vs. server disk
  388. access).  Results can be compared on the same network with
  389. varying numbers of workstations logged on (i.e., network
  390. contention for the same task with three workstations as compared
  391. with eight).  Or you can compare a similar number of workstations
  392. using the same load but different network configurations (i.e.,
  393. token-ring vs. star topology).
  394.  
  395. For example, while write operations normally take longer than
  396. read operations, the factor will vary depending upon the network
  397. configuration.  Likewise, you can isolate the effect of
  398. additional buffers on the server, as well as the workstation, by
  399. changing the setup options and rerunning the tests.
  400.